package com.example.hospital_208.dao;

import com.example.hospital_208.po.Carousel;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper // 添加 @Mapper 注解
public interface CarouselDao {
    List<Carousel> selectAll();
    Carousel selectById(Integer id);
    int insert(Carousel carousel);
    int update(Carousel carousel);
    int deleteById(Integer id);
}